<%-- 
    Document   : fileupload
    Created on : 4/08/2012, 04:45:56 PM
    Author     : adriancruz11c
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<s:head />
</head>

<body>
<h1>Struts 2 &lt;s:file&gt; file upload example</h1>

<s:form action="resultAction" namespace="/" method="POST" enctype="multipart/form-data">
    

<s:file name="fileUpload" label="Select a File to upload" size="40" />

<s:submit value="submit" name="submit" />
	
</s:form>

</body>
</html>